package com.monkeyk.os.util;
/**
 * 返回信息枚举类
 * @author fanhaohao
 * @date 2017年10月27日 下午9:59:27
 */
public enum AJBRspCon {
	SUCCESS(200, "操作成功!"),
	ERROR(500, "操作异常!"),
	TOKEN_EXPIRED(700, "token过期!"),
	TOKEN_NOT_EXIST(701, "token不存在!"),
	FLAG_UNKNOW( 1000,"系统未知错误!"),
	FLAG_NOT_LOGIN ( 1001,"用户未登录!"),
	FLAG_NOT_LOGINNAME ( 1002,"登录账户不存在!"),
	FLAG_JSON_FAIL ( 1011,"Json串解析异常!"),
	PARAM_ERROR ( 501,"参数错误!");
	
	
	


	
	private Integer code;
    private String msg;

    private AJBRspCon(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
	
	public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
